import request from "@/utils/request";

export function queryPage(data) {
  return request({
    url: "/togetherParameter/queryPage",
    method: "post",
    data
  })
}

export function insertByModel(data) {
  return request({
    url: "/togetherParameter/insertByModel",
    method: "post",
    data
  })
}

export function updateByModel(data) {
  return request({
    url: "/togetherParameter/updateByModel",
    method: "post",
    data
  })
}

export function deleteByModel(data) {
  return request({
    url: "/togetherParameter/delete",
    method: "post",
    data
  })
}

export function queryInitInfo(data) {
  return request({
    url: "/togetherParameter/queryInitInfo",
    method: "get",
    params: data
  })
}

export function saveInitInfo(data) {
  return request({
    url: "/togetherParameter/saveInitInfo",
    method: "post",
    data
  })
}

export function queryDetailList(data) {
  return request({
    url: "/baseTogetherRuleMain/queryDetailList",
    method: "get",
    params: data
  })
}

export function queryBaseTogetherRuleMainList(data) {
  return request({
    url: "/baseTogetherRuleMain/queryList",
    method: "get",
    params: data
  })
}

export function queryBaseBooleanList(data) {
  return request({
    url: "/togetherParameter/queryBaseBooleanList",
    method: "get",
    params: data
  })
}
